﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Configuration;

namespace XDeal.Common.Web
{
    public class WebCommons
    {
        /// <summary>
        /// Get Value From Web Config or App Config
        /// </summary>
        /// <param name="strKey">AppName</param>
        /// <returns></returns>
        public static string GetValueFromAppSetting(string strKey)
        {
            return ConfigurationSettings.AppSettings.Get(strKey);
        }
    }
}
